package com.itfreer.knowledge.service.config;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;
import com.itfreer.knowledge.entity.config.LabelEntity;

/**
 * 知识标签服务
 */
@Component
@Path("/knowledge_label/")
public class RestLabelService extends BaseRestService<LabelEntity> {

	/**
	 * 友情链接管理接口
	 */
	@Autowired
	private LabelService linkManage;
	
	@Override
	protected BaseService<LabelEntity> getService() {
		return linkManage;
	}

	@Override
	protected String getServiceName() {
		return "knowledge_label";
	}
}
